{extend name="public/base"/}
{block name="style"}
{/block}
{block name="content"}
    <div class="data-list" data-url="{:url('index')}">
        <form class="layui-form inline-form">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <input class="layui-input input-order-sn" autofocus autocomplete="off" name="ref_sn" placeholder="业务单号">
                </div>
                <div class="layui-inline">
                    <input class="layui-input" autocomplete="off" name="bank_user" placeholder="输入收款人户名">
                </div>
                <div class="layui-inline">
                    <input type="text" placeholder="应付日期" name="biz_date" class="layui-input laydate-range">
                </div>
                <div class="layui-inline">
                    <select name="ref_type" lay-search lay-filter="data-list">
                        <option value="">业务类型</option>
                        {foreach $ref_type as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="check_status" lay-search lay-filter="data-list">
                        <option value="">审批状态</option>
                        {foreach $check_status as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="pay_type" lay-search lay-filter="data-list">
                        <option value="">付款方式</option>
                        {foreach $pay_type as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="pay_status" lay-search lay-filter="data-list">
                        <option value="">付款状态</option>
                        {foreach $pay_status as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="act_account" lay-search lay-filter="data-list">
                        <option value="">付款账号</option>
                        {foreach $banks as $bank}
                        <option value="{$bank.account}">{$bank.name_acc}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-normal layui-btn-sm search"><i class="layui-icon layui-icon-search"></i></button>
                </div>
            </div>
        </form>
        <div class="layui-row">
            <div class="layui-inline layui-btn-group">
                <button type="button" id="batch-check" target="payment-id" msg="请选择要审批的付款单" class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon layui-icon-auz"></i>批量审批</button>
            </div>
        </div>
        <div class="data">
            <p><i class="fa fa-spinner fa-spin"></i> 加载中...</p>
        </div>
    </div>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use(['layer', 'jquery'], function()
{
    var layer = layui.layer
        , $ = layui.jquery;
});
</script>
{/block}